package com.googlecode.auctionx.mercadolivre.xml.elements;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root
public class Item {

	@Attribute
	private String id;

	@Element
	private String price;
	
	@Element(required=false)
	private String title;
	
	@Element(required=false)
	private String subtitle;
	
	@Element
	private String link;
	
	@Element(name="image_url", required=false)
	private String imageUrl;
	
	@Element(name="seller_type", required=false)
	private String sellerType;
	
	@Element(name="auction_type", required=false)
	private String auctionType;
	
	@Element(name="mpago", required=false)
	private String mercadoPago;
	
	@Element(required=false)
	private String currency;
	
	@Element(required=false)
	private String bids;
	
	@Element(required=false)
	private String hot;
	
	@Element(required=false)
	private String hits;
	
	@Element(name="auct_end", required=false)
	private String endDate;
	
	@Element(required=false)
	private String zones;
	
	@Element(required=false)
	private String condition;
	
	@Element(name="catalog_rating", required=false)
	private String catalogRating;

	@Element(name="listing_features", required=false)
	private Features features;

	@Element(required=false)
	private Feedback feedback;
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getSellerType() {
		return sellerType;
	}

	public void setSellerType(String sellerType) {
		this.sellerType = sellerType;
	}

	public String getAuctionType() {
		return auctionType;
	}

	public void setAuctionType(String auctionType) {
		this.auctionType = auctionType;
	}

	public String getMercadoPago() {
		return mercadoPago;
	}

	public void setMercadoPago(String mercadoPago) {
		this.mercadoPago = mercadoPago;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getBids() {
		return bids;
	}

	public void setBids(String bids) {
		this.bids = bids;
	}

	public String getHot() {
		return hot;
	}

	public void setHot(String hot) {
		this.hot = hot;
	}

	public String getHits() {
		return hits;
	}

	public void setHits(String hits) {
		this.hits = hits;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getZones() {
		return zones;
	}

	public void setZones(String zones) {
		this.zones = zones;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public String getCatalogRating() {
		return catalogRating;
	}

	public void setCatalogRating(String catalogRating) {
		this.catalogRating = catalogRating;
	}

	public Features getFeatures() {
		return features;
	}

	public void setFeatures(Features features) {
		this.features = features;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPrice() {
		return price;
	}

	public void setFeedback(Feedback feedback) {
		this.feedback = feedback;
	}

	public Feedback getFeedback() {
		return feedback;
	}

}